import request from "@/common/request/merajax.js";

//商铺首页信息
export function dashboard(params) {
	return request({
		url: '/mer/statistics/main',
		method: 'GET',
		params
	})
}

//商铺订单信息
export function orderinfo(params) {
	return request({
		url: '/mer/store/order/title',
		method: 'GET',
		params
	})
}

//商铺信息
export function merinfo(params) {
	return request({
		url: '/mer/info',
		method: 'GET',
		params
	})
}

//修改商家信息
export function merupdate(data) {
	return request({
		url: '/mer/info/update',
		method: 'POST',
		data
	})
}


